//
//  WQCalendarDay.h
//  WQCalendar
//
//  Created by Jason Lee on 14-3-4.
//  Copyright (c) 2014年 Jason Lee. All rights reserved.
//

#define CAN_SHOW    1 // 可以被点击
#define CANNOT_SHOW 0 // 不能被点击

#import <Foundation/Foundation.h>
#import "NSDate+WQCalendarLogic.h"

typedef NS_ENUM(NSInteger, CollectionViewCellDayType) {
    CellDayTypeEmpty,     // 不显示
    CellDayTypeEmptyPrice,// 不显示价格
    CellDayTypeShowPrice, // 显示价格
    CellDayTypeClick      // 被点击的日期
};

@interface CalendarDayModel : NSObject

@property (nonatomic , strong) NSDecimalNumber *SalePrice;

@property (nonatomic , strong) NSString *BCID;

@property (nonatomic , strong) NSString *workDate;


@property (assign, nonatomic) CollectionViewCellDayType style;//显示的样式

/**
 *  1、显示有票  2、显示已购 3、显示已退
 */
@property (nonatomic , assign) NSInteger ticketStyle;

@property (nonatomic, assign) NSUInteger day;//天
@property (nonatomic, assign) NSUInteger month;//月
@property (nonatomic, assign) NSUInteger year;//年
@property (nonatomic, assign) NSUInteger week;//周
@property (nonatomic, strong) NSString *price;//农历
@property (nonatomic, strong) NSString *holiday;


+ (CalendarDayModel *)calendarDayWithYear:(NSUInteger)year month:(NSUInteger)month day:(NSUInteger)day;
- (NSDate *)  date;    // 返回当前天的NSDate对象
- (NSString *)toString;// 返回当前天的NSString对象
- (NSString *)getWeek; // 返回星期

@end
